package cn.jinjimi.app.controller.event.NoticeEvent;

import cn.jinjimi.domain.data.dto.NoticeMeMenuDto;
import cn.jinjimi.app.store.entity.NoticeEntity;

import java.util.List;

/**
 * Created by Roy
 * Date: 16/12/16
 */

public class NoticeNewFeatureEvent extends NoticeEvent {
    public List<NoticeMeMenuDto> noticeMeMenuDtos;

    public NoticeNewFeatureEvent(int state) {
        super(state);
    }

    public NoticeNewFeatureEvent(List<NoticeEntity> noticeEntities) {
        super(noticeEntities);
        this.noticeMeMenuDtos = NoticeEntity.getMeNotices(noticeEntities);
    }
}
